class HelloWorldComponent extends HTMLElement {
  connectedCallback() {
    this.innerHTML = `
    <h1 
    >Hello, wolrd</h1>
    <p>welcome!</p>`;
  }
}

export const registerHelloWorldComponent = () => {
  customElements.define("x-hello-world", HelloWorldComponent);
};
